﻿using System;
using System.Linq;
using System.Data.Linq;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using CodeSmith.Data.Attributes;
using CodeSmith.Data.Rules;

namespace ezCloud.Data
{
    public partial class Payments
    {
        // Place custom code here.

        #region Metadata
        // For more information about how to use the metadata class visit:
        // http://www.plinqo.com/metadata.ashx
        [CodeSmith.Data.Audit.Audit]
        internal class Metadata
        {
             // WARNING: Only attributes inside of this class will be preserved.

            public int PaymentId { get; set; }

            public string PaymentDescription { get; set; }

            public int? HotelId { get; set; }

            public int? ReservationRoomId { get; set; }

            public string PaymentTypeName { get; set; }

            public decimal? Amount { get; set; }

            public System.DateTime? CreatedDate { get; set; }

            public System.DateTime? ModifiedDate { get; set; }

            public string CreatedUserId { get; set; }

            public int? PaymentMethodId { get; set; }

            public int? MoneyId { get; set; }

            public decimal? AmountInSpecificMoney { get; set; }

            public int? RefPaymentId { get; set; }

            public int? FolioId { get; set; }

            public int? PaymentNumber { get; set; }

            public System.DateTime? PaymentGroupCreatedDate { get; set; }

            public string PaymentGroupCreatedUserId { get; set; }

            public bool? IsPaymentGroup { get; set; }

            public int? PaymentGroupOrder { get; set; }

            public System.DateTime? PaymentGroupDeletedDate { get; set; }

            public string PaymentGroupDeletedUserId { get; set; }

            public bool? IsPaymentGroupDeleted { get; set; }

            public int? CompanyId { get; set; }

            public bool? IsPOS { get; set; }

            public AspNetUsers CreatedUserAspNetUsers { get; set; }

            public Folios Folios { get; set; }

            public Hotels Hotels { get; set; }

            public PaymentMethods PaymentMethods { get; set; }

            public Payments RefPayments { get; set; }

            public ReservationRooms ReservationRooms { get; set; }

            public Money Money { get; set; }

            public Company Company { get; set; }

            public EntitySet<Payments> RefPaymentsList { get; set; }

            public EntitySet<POSPaymentTravellerPayments> POSPaymentTravellerPaymentsList { get; set; }

        }

        #endregion
    }
}